import yagmail
def send_yj(fujian):
    mail=yagmail.SMTP(user="2624580490@qq.com",password="dpxctktcbtxqdjhi",host="smtp.qq.com")
    mail.send(to="2624580490@qq.com",subject="月考测试报告",
              contents="经理您好\n这是本月的测试报告\n请签收\n谢谢",
              attachments=fujian)